package com.hongye.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author hxy
 * @email 3199037134@qq.com
 * @date 2022/4/20 15:31
 */
@FeignClient("hongye-third")
public interface ThirdServer {

    /**
     * sendPhoneMsg
     * @param phone
     * @return
     */
    @RequestMapping("/hongye/third/sendPhoneMsg")
    public String  sendPhoneMsg(@RequestParam("phone") String phone);

}
